package com.clw.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * 2017-07-23 21:43
 */
@Data
public class CategoryForm {

//    private Integer categoryId;
//
//    /** 类目名字. */
//    private String categoryName;
//
//    /** 类目编号. */
//    private Integer categoryType;

    private Integer id;

    @NotEmpty(message = "分类名称不能为空")
    private String name;

    private String remark;

    private Integer pid;


}
